package core.net.protocol;

import core.buffer.Buffer;

public interface IProtocol {
    void deserialize(Buffer data);
    Buffer serialize(Buffer emptyBuffer);
    byte protocolType();
    int size();
}
